
App({
  onLaunch: function () {
    if (wx.cloud) {
      wx.cloud.init({
        env: 'sc-2gygagf77e71a124',
        traceUser: true
      }) 
    }
    this.db = wx.cloud.database()
    this._ = this.db.command;
  },
  globalData: {
    openid: '',
    userInfo:null,
    period: null,
    setting: {
      signPoint: 10,
      luckTimes: 2
    }
  },

})